package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Jingdianxinxi;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface JingdianxinxiDao extends BaseMapper<Jingdianxinxi> {

@Select("select * from jingdianxinxi")
List<Map<String, Object>> daochuexcel();

//youxxianxci

@Select("SELECT distinct(xingji) as aa,count(id) as bb FROM jingdianxinxi group by xingji order by id")
List<Map<String, Object>> jingdianxinxi_tj_xingji();

//tonxgji1

}
